home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1999 January: Mac OS SDK / Dev.CD Jan 99 SDK1.toast / Development Kits / Interfaces&Libraries / Universal / Interfaces / AIncludes / TerminalTools.a < prev    next >
Encoding:
Text File  |  1998-08-17  |  2.7 KB  |  108 lines  |  [TEXT/MPS ]

  1. ;
  2. ;    File:        TerminalTools.a
  3. ;
  4. ;    Contains:    Communications Toolbox Terminal tools Interfaces.
  5. ;
  6. ;    Version:    Technology:    System 7.5
  7. ;                Release:    Universal Interfaces 3.2
  8. ;
  9. ;    Copyright:    © 1988-1998, 1995-1997 by Apple Computer, Inc., all rights reserved
  10. ;
  11. ;    Bugs?:        For bug reports, consult the following page on
  12. ;                the World Wide Web:
  13. ;
  14. ;                    http://developer.apple.com/bugreporter/
  15. ;
  16. ;
  17.     IF &TYPE('__TERMINALTOOLS__') = 'UNDEFINED' THEN
  18. __TERMINALTOOLS__ SET 1
  19.  
  20.     IF &TYPE('__CONDITIONALMACROS__') = 'UNDEFINED' THEN
  21.     include 'ConditionalMacros.a'
  22.     ENDIF
  23.     IF &TYPE('__DIALOGS__') = 'UNDEFINED' THEN
  24.     include 'Dialogs.a'
  25.     ENDIF
  26.     IF &TYPE('__TERMINALS__') = 'UNDEFINED' THEN
  27.     include 'Terminals.a'
  28.     ENDIF
  29.  
  30.  
  31. tdefType                        EQU        'tdef'
  32. tvalType                        EQU        'tval'
  33. tsetType                        EQU        'tset'
  34. tlocType                        EQU        'tloc'
  35. tscrType                        EQU        'tscr'
  36. tbndType                        EQU        'tbnd'
  37. tverType                        EQU        'vers'
  38.  
  39.                                                             ; messages 
  40. tmInitMsg                        EQU        0
  41. tmDisposeMsg                    EQU        1
  42. tmSuspendMsg                    EQU        2
  43. tmResumeMsg                        EQU        3
  44. tmMenuMsg                        EQU        4
  45. tmEventMsg                        EQU        5
  46. tmActivateMsg                    EQU        6
  47. tmDeactivateMsg                    EQU        7
  48. tmGetErrorStringMsg                EQU        8
  49. tmIdleMsg                        EQU        50
  50. tmResetMsg                        EQU        51
  51. tmKeyMsg                        EQU        100
  52. tmStreamMsg                        EQU        101
  53. tmResizeMsg                        EQU        102
  54. tmUpdateMsg                        EQU        103
  55. tmClickMsg                        EQU        104
  56. tmGetSelectionMsg                EQU        105
  57. tmSetSelectionMsg                EQU        106
  58. tmScrollMsg                        EQU        107
  59. tmClearMsg                        EQU        108
  60. tmGetLineMsg                    EQU        109
  61. tmPaintMsg                        EQU        110
  62. tmCursorMsg                        EQU        111
  63. tmGetEnvironsMsg                EQU        112
  64. tmDoTermKeyMsg                    EQU        113
  65. tmCountTermKeysMsg                EQU        114
  66. tmGetIndTermKeyMsg                EQU        115
  67.  
  68.                                                             ; messages for validate DefProc    
  69. tmValidateMsg                    EQU        0
  70. tmDefaultMsg                    EQU        1
  71.  
  72.                                                             ; messages for Setup DefProc    
  73. tmSpreflightMsg                    EQU        0
  74. tmSsetupMsg                        EQU        1
  75. tmSitemMsg                        EQU        2
  76. tmSfilterMsg                    EQU        3
  77. tmScleanupMsg                    EQU        4
  78.  
  79.                                                             ; messages for scripting defProc    
  80. tmMgetMsg                        EQU        0
  81. tmMsetMsg                        EQU        1
  82.  
  83.                                                             ; messages for localization defProc  
  84. tmL2English                        EQU        0
  85. tmL2Intl                        EQU        1
  86. TMSearchBlock            RECORD 0
  87. theString                 ds.l    1                ; offset: $0 (0)
  88. where                     ds        Rect            ; offset: $4 (4)
  89. searchType                 ds.w    1                ; offset: $C (12)
  90. callBack                 ds.l    1                ; offset: $E (14)
  91. refnum                     ds.w    1                ; offset: $12 (18)
  92. next                     ds.l    1                ; offset: $14 (20)
  93. sizeof                     EQU *                    ; size:   $18 (24)
  94.                         ENDR
  95. ; typedef struct TMSearchBlock *        TMSearchBlockPtr
  96.  
  97. TMSetupStruct            RECORD 0
  98. theDialog                 ds.l    1                ; offset: $0 (0)
  99. count                     ds.w    1                ; offset: $4 (4)
  100. theConfig                 ds.l    1                ; offset: $6 (6)
  101. procID                     ds.w    1                ; offset: $A (10)        ;  procID of the tool 
  102. sizeof                     EQU *                    ; size:   $C (12)
  103.                         ENDR
  104. ; typedef struct TMSetupStruct *        TMSetupPtr
  105.  
  106.     ENDIF ; __TERMINALTOOLS__ 
  107.  
  108.